/*
 * @Author: your name
 * @Date: 2021-09-18 10:59:28
 * @LastEditTime: 2021-11-05 17:01:44
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \datav\src\components\datav\data\left1.js
 */
// import * as echarts from 'echarts'
export default {
  color: ['#80E6FF', '#FFBA69', '#F27575', '#D086FF', '#FF86BF'],
  legend: {
    x: 'right',
    top: '10%',
    left: 'auto',
    right: '150',
    data: ['参观人数'],
    textStyle: {
      color: '#FFFFFF'
    }
  },
  toolbox: {
    show: false
  },
  tooltip: {
    // show: true,
    trigger: 'axis',
    axisPointer: {
      type: 'cross'
    },
  },
  grid: {
    left: '5%',
    right: '100',
    top: '15%',
    bottom: '20%',
    containLabel: true
  },
  xAxis: {
    axisTick: {
      show: false
    },
    axisLabel: {
      textStyle: {
        color: '#669DFF',
        fontSize: 18
      }
    },
    axisLine: {
      show: true,
      lineStyle: { color: 'rgba(255,255,255,.5)' }
    },
    data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
  },
  yAxis: {
    name: '参观人数',
    nameTextStyle: {
      color: '#707070',
      fontSize: 14
    },
    axisLabel: {
      textStyle: {
        color: '#669DFF',
        fontSize: 18
      },
      showMaxLabel: true
    },
    axisLine: {
      show: true,
      lineStyle: {
        color: 'rgba(255,255,255,.5)'
      }
    },
    splitLine: {
      show: true,
      lineStyle: {
        color: "rgba(7, 219, 255, .2)",
        type: 'dashed'
      }
    },
    boundaryGap: [0, 0.1]
  },
  series: [{
      name: '参观人数',
      type: 'line',
      symbolSize: 14,
      data: [1000, 2000, 1200, 5000, 4500, 4000,5500,6500,3500,5500,2500,8500],
      "label": {
        "show": true,
        "position": "top",
        "distance": 10,
        fontSize: 16,
        "color": "#FFFFFF"
      }
    }
  ]
};